<tagLib name="html,cx" />
<include file="Public:header" />

<div class="bodyTitle">
	<div class="bodyTitleLeft"></div>
  <div class="bodyTitleText">添加分类</div>
</div>
<br><h3 class="marginbot"><a href="__URL__/category" class="sgbtn">＋返回类别管理</a></h3>
		
       
          <table width="100%"> <form method="post" name="form1" action="__URL__/categoryadds">
            <tr>
              <td>类别名称</td>
              <td>
                <input name="title" type="text" class="txt redtxt" id="title3" size="40"  /></td>
            </tr>
            <tr>
              <td>父类别名称</td>
              <td>
              	<select name="parentid" id="catelist">
				 <volist name="cate" id="vo">
				 	<option value="{$vo.id}">{$vo.title}</option>
				 </volist>
				</select>
              </td>
            </tr>
            <tr>
              <td>描述</td>
              <td>
                <textarea name="description" cols="48" rows="5"  id="description"></textarea></td>
            </tr>
            <tr>
              <td>状态</td>
              <td><input name="status" type="radio" value="1" checked="checked" class="checkbox"/>
        开启
          <input type="radio" name="status" value="0" class="checkbox"/>
        关闭</td>
            </tr><tr>
              <td>关键字</td>
              <td>
                <input name="keywords" type="text" class="txt" id="keywords" />
&nbsp;</td>
            </tr>
            <tr>
              <td>排序</td>
              <td><input name="displayorder" type="text" class="txt" id="displayorder" value="0"  /></td>
            </tr>
            <tr>
              <td>添加内容</td>
              <td>
                   <volist name="group" id="vo">
                   <input name="allowadd[]" type="checkbox" value="{$vo.id}" id="allowadd[]"  class="checkbox"/>{$vo.grouptitle}                </volist>
              <font color="#FF0000"></font></td>
            </tr>
            <tr>
              <td>编辑内容</td>
              <td> <volist name="group" id="vo">
              <input name="allowedit[]" type="checkbox" value="{$vo.id}" id="allowedit[]"  class="checkbox"/>{$vo.grouptitle}                </volist></td>
            </tr>
            <tr>
              <td>删除内容</td>
              <td> <volist name="group" id="vo">
              <input name="allowdel[]" type="checkbox" value="{$vo.id}" id="allowdel[]"  class="checkbox"/>{$vo.grouptitle}                </volist></td>
            </tr>
            <tr>
              <td><input name="module" type="hidden" id="module" value="1" /></td>
              <td>
                <input type="submit" name="Submit2" value="确定新增" class="inputButton" />
                <input type="reset" name="Reset" value="还原重填" class="inputButton" /></td>
            </tr>
          </form></table>
<p class="i"> 红色标记的内容必须填写<br />
 权限如果不想设置，请留空不选择</p>
        <br>
<include file="Public:footer" />